package com.neuedu.jdbc.v3.entity;


import lombok.*;

import java.util.Objects;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Account {

    private Integer id;
    private String name;
    private Double amount;


    /**
     * 构造方法
     *  1 无参，
     *  2 全参数
     */

    //setter  getter 方法
    public static void main(String[] args) {

        Account account1 = new Account();
        Account account2 = new Account(100,"aaa",300.1);

    }
}
